package com.basicsOperation.service.imp;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.basicsOperation.dao.BasicsOperationDao;
import com.basicsOperation.service.BasicsOperationService;
import com.basicsOperation.vo.CurrencyVo;
import com.basicsOperation.vo.PathVo;
import com.basicsOperation.vo.SalesDetailedVo;
import com.basicsOperation.vo.UserInfoVo;

@Service("basicsOperationService") 
public class BasicsOperationServiceImp implements BasicsOperationService {
	
	@Autowired
	private BasicsOperationDao basicsOperationDao;
	
	  /**
	    * 查询用户信息
	    * @Parameters:查询条件
	    * @return: 用户信息
	    */
	public List<UserInfoVo> selUserInfo(Map<String, String> map){
		return basicsOperationDao.selUserInfo(map);
	}

	  /**
	    * 查询路径信息
	    * @Parameters:查询条件
	    * @return: 路径信息
	    */
	public List<PathVo> selPathInfo(Map<String, String> map) {		
		return basicsOperationDao.selPathInfo(map);
	}
	
	
	   /**
	    * 查询销售明细数据
	    * @Parameters:查询条件
	    * @return: 销售明细数据
	    */
	   public List<SalesDetailedVo> selSalesDetailed(Map<String, Object> Map){		
			return  basicsOperationDao.selSalesDetailed(Map);
		}

	   
	   /**
	    * 导出销售明细数据
	    * @Parameters:查询条件
	    * @return: 销售明细数据
	    */
		public boolean downloadSelSalesDetailed(Map<String, Object> Map) {			
			return false;
		}

		/**
	   	 * 查询门店的最后浏览时间,浏览次数，最后回访时间
	   	 * @param startDate
	   	 * @param endDate
	   	 * @param list
	   	 * @return
	   	 */
	   	public List<CurrencyVo> selStoreBrowseInfo(Map<String, Object> map){
	   		return basicsOperationDao.selStoreBrowseInfo(map);
	   	}
		
		
}
